<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<title>充值记录</title>
	<script src="/static/mobile/js/mui.min.js"></script>
	<link href="/static/mobile/css/mui.min.css" rel="stylesheet"/>
	<link rel="stylesheet" type="text/css" href="/static/mobile/css/basic.css"/>
	<link rel="stylesheet" type="text/css" href="/static/mobile/css/active_huiyuan.css"/>
	<link rel="stylesheet" type="text/css" href="/static/mobile/css/resiter_daili_3.css"/>
	<script type="text/javascript" src="/static/mobile/js/jquery.js"></script>
	<link rel="stylesheet" href="/static/plugins/layui/css/layui.css">
	<script type="text/javascript" charset="utf-8">
		mui.init();
	</script>
	<style>
		.section2 .sub button {
			width: 100%;
			padding: 5px;
			font-size: 1rem;
			color: #fff;
			background: #E52D2D;
			border-color: #E52D2D;
		}
	</style>
</head>
<body>
<div class="sectionx">
	<header class="mui-bar mui-bar-nav" >
		<a class="mui-icon mui-icon-left-nav mui-pull-left" href="javascript:history.back(-1)" style="color: #4E4E4E;"></a>
		<h1 class="mui-title">充值记录</h1>
	</header>
</div>
<div class="section3">
</div>
<div class="ge"></div>

<div class="">
	<div class="layui-form">
		<div class="section2">
			{volist name='lists' id='vo'}
			<ul>
				<li class="lix mui-clearfix">
					<span>会员编号</span>
					<input type="text" value='{$vo.nickname}' readonly/>
					<span class="xing">*</span>
				</li>

				<li class="lix mui-clearfix">
					<span>会员姓名</span>
					<input type="text" value='{$vo.username}' readonly/>
					<span class="xing">*</span>
				</li>
				<li class="lix mui-clearfix">
					<span>手机号</span>
					<input type="text" value='{$vo.mobile}' readonly/>
					<span class="xing">*</span>
				</li>
				<li class="lix mui-clearfix">
					<span>充值类型</span>
					<input type="text" value='{$vo.lx|tixiantype}' readonly/>
					<span class="xing">*</span>
				</li>

				<li class="lix mui-clearfix">
					<span>金额</span>
					<input type="text" value='{$vo.jine}' readonly/>
					<span class="xing">*</span>
				</li>
				<li class="lix mui-clearfix">
					<span>充值凭证</span>
					<img src="{$vo.pzimg}" style="width: 300px;height: 300px">
					<span class="xing">*</span>
				</li>
				<li class="lix mui-clearfix">
					<span>状态</span>
					{if $vo.isgrant==1}
					 <input type="text" value='申请中' readonly/>
					{/if}
					{if $vo.isgrant==2}
					 <input type="text" value='充值成功' readonly/>
					{/if}
					{if $vo.isgrant==-1}
					 <input type="text" value='已驳回' readonly/>
					{/if}
					<span class="xing">*</span>
				</li>

			</ul>
			<div class="ge"></div>
			{/volist}
		</div>
	</div>

</div>
</div>

{$page|raw}

</body>
<script src="/static/plugins/layui/layui.js"></script>
<script type="text/javascript" >
	mui('body').on( 'tap' , 'a' , function(){
		document.location.href=this.href;
	})
</script>
<script>
	function commints(id){
		$.ajax({
			type : "POST",  //请求方式
			async:false,
			url : "{:url('guamai_my_pay')}",  //请求路径
			dataType:"html",
			data :'id='+id,
			success : function(msg) {  //异步请求成功执行的回调函数
				var jsonParseJson=JSON.parse(msg);
				if(jsonParseJson['success']==1){
					layer.msg(jsonParseJson['msg'],{time:1000,icon:1},function(){
						window.location.href = "{:url('guamai_buy')}";
					});
				}else{
					layer.msg(jsonParseJson['msg'],{time:1000,icon:2});
				}

			}
		});
	}
	layui.use(['form', 'layer'], function () {

	})
</script>
</html>